package com.jt.Demo04;

import org.springframework.stereotype.Component;

@Component
public class Catt implements Pet{
    @Override
    public void hello() {
        System.out.println("猫");
    }
}
